package com.ushine.web.communication.netty.handler;

import com.ushine.web.communication.netty.proto.Message;
import com.ushine.web.communication.netty.service.INettyService;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @Author: yls
 * @Date 2022/5/11 10:50
 * @Description:  数据处理器
 * @Version 1.0
 **/
public class DataResolveHandler extends SimpleChannelInboundHandler<Message.Instruction> {

    /**
     * 通信处理
     */
    private final INettyService nettyService;

    public DataResolveHandler(INettyService nettyService) {
        this.nettyService = nettyService;
    }

    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, Message.Instruction instruction) throws Exception {

    }
}
